package com.lmb.mapper;

import com.lmb.bean.PublicServices;
import com.lmb.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PublicServicesDao {

    int add(@Param("ps") PublicServices publicServices);

    int del(@Param("id")Integer id);

    int edit(@Param("ps") PublicServices publicServices);

    PublicServices one(@Param("id")Integer id);

    List<PublicServices> all(@Param("ps") PublicServices publicServices);

    int pageCount(@Param("ps") PublicServices publicServices);

    List<PublicServices> page(@Param("page") Page page, @Param("ps") PublicServices publicServices);
}
